package com.fruit.pojo.account.commission;

import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 返销记录POJO
 * @author Administrator
 *
 */
public class CommissionDetail implements Serializable {
    private Long id;

    private Integer userId;

    private BigDecimal money;

    private BigDecimal rebate;
    
    private String rebateType;//返点类型

    private Long transactionId;

    private Integer friendId;

    private String level;

    private String remark;

    private String createTime;

    private String updateTime;
    
    private Integer consumerId;
    
    private String priceState;
    
    private String type;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }


    public BigDecimal getRebate() {
		return rebate;
	}

	public void setRebate(BigDecimal rebate) {
		this.rebate = rebate;
	}

	public String getRebateType() {
		return rebateType;
	}

	public void setRebateType(String rebateType) {
		this.rebateType = rebateType;
	}

	public Long getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(Long transactionId) {
        this.transactionId = transactionId;
    }

    public Integer getFriendId() {
        return friendId;
    }

    public void setFriendId(Integer friendId) {
        this.friendId = friendId;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }
        
    public String getPriceState() {
		return priceState;
	}

	public void setPriceState(String priceState) {
		this.priceState = priceState;
	}

	public Integer getConsumerId() {
		return consumerId;
	}

	public void setConsumerId(Integer consumerId) {
		this.consumerId = consumerId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
    public String toString() {
    	StringBuffer str=new StringBuffer();
    	str.append("[");
    	str.append("id="+id);
    	str.append(",userId="+userId);
    	str.append(",rebate="+rebate);
    	str.append(",money="+money);
    	str.append(",transactionId="+transactionId);
    	str.append(",friendId="+friendId);
    	str.append(",remark="+remark);
    	str.append(",level="+level);
    	str.append(",createTime="+createTime);
    	str.append(",updateTime="+updateTime);
    	str.append(",priceState="+priceState);
    	str.append(",consumerId="+consumerId);
    	str.append("]");
    	
    	return str.toString();
    }
}